const { db, DataTypes, Op } = require('../db')
const Fruit = db.define('fruit', 
  {
    id: {
      type: DataTypes.INTEGER,
      primaryKey: true
    },
    thumb: DataTypes.STRING,
    name: DataTypes.STRING,
    price: DataTypes.INTEGER,
    orderid: DataTypes.INTEGER,
    createAt: DataTypes.INTEGER
  },
  { timestamps: false }
);


module.exports = {
  Fruit,
  Op
};
